package com.ssm.subject.application.convert;

import com.ssm.subject.application.dto.SubjectAnswerDTO;
import com.ssm.subject.domain.bo.SubjectAnswerBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerDtoConvert {
    SubjectAnswerDtoConvert INSTANCE = Mappers.getMapper(SubjectAnswerDtoConvert.class);

    //DTOlist 转 BOlist
    List<SubjectAnswerBO> subjectAnswerListDtoToBoList(List<SubjectAnswerDTO> subjectAnswerDTO);
}
